Skip to content

Comments

Add support for thread block clusters#3017

Draft
eschnett wants to merge 50 commits intoJuliaGPU:masterfrom
eschnett:eschnett/clusters
Draft

Add support for thread block clusters#3017
eschnett wants to merge 50 commits intoJuliaGPU:masterfrom
eschnett:eschnett/clusters

Conversation

@eschnett
Copy link
Contributor

No description provided.

@codecov
Copy link

codecov bot commented Jan 13, 2026

Codecov Report

❌ Patch coverage is 33.33333% with 8 lines in your changes missing coverage. Please review.
✅ Project coverage is 76.01%. Comparing base (9528a33) to head (39cacc4).

Files with missing lines Patch % Lines
lib/cudadrv/execution.jl 33.33% 8 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           master    #3017       +/-   ##
===========================================
- Coverage   89.31%   76.01%   -13.31%     
===========================================
  Files         148      148               
  Lines       12995    12918       -77     
===========================================
- Hits        11606     9819     -1787     
- Misses       1389     3099     +1710     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@eschnett
Copy link
Contributor Author

For the record, this PR addresses #1989.

@eschnett
Copy link
Contributor Author

I'll have to clean up the patch, but apart from that it's finished.

  • There is a way to launch kernels with non-trivial cluster sizes
  • There are new kernel functions to query about clusters
  • There is distributed shared memory
  • There is a cluster_wait function.

Missing cleanups:

  • Probably needs more device_capability >= v"9.0" checks
  • Requires LLVM >= 20, i.e. Julia >= 1.13; will need to add @static if statements for this
  • Need to make tests pass
  • CUDA.jl is broken for Julia 1.13. I have a work-around, but I assume someone else will clean this up, and I'll then have to merge it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants